package com.hustmm.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 材料属性对象 mm_material_properties
 * 
 * @author WUDI
 * @date 2024-05-23
 */
public class MmMaterialProperties extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 属性id */
    private String propertyId;

    /** 材料id */
    @Excel(name = "材料id")
    private String matId;

    /** 属性名称 */
    @Excel(name = "属性名称")
    private String propertyName;

    /** 状态（1正常 0停用） */
    @Excel(name = "状态", readConverterExp = "1=正常,0=停用")
    private Long status;

    /** 删除标志 */
    private String delFlag;

    /** 动态数据 */
    @Excel(name = "动态数据")
    private String cjson;

    /** 键值数据 */
    @Excel(name = "键值数据")
    private String vjson;

    /** 属性测试方法 */
    @Excel(name = "属性测试方法")
    private Long propertyTestMethod;

    /** 属性值 */
    @Excel(name = "属性值")
    private String propertyValue;

    /** 属性类型 */
    @Excel(name = "属性类型")
    private Long propertyType;

    public void setPropertyId(String propertyId) 
    {
        this.propertyId = propertyId;
    }

    public String getPropertyId() 
    {
        return propertyId;
    }
    public void setMatId(String matId) 
    {
        this.matId = matId;
    }

    public String getMatId() 
    {
        return matId;
    }
    public void setPropertyName(String propertyName) 
    {
        this.propertyName = propertyName;
    }

    public String getPropertyName() 
    {
        return propertyName;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setCjson(String cjson) 
    {
        this.cjson = cjson;
    }

    public String getCjson() 
    {
        return cjson;
    }
    public void setVjson(String vjson) 
    {
        this.vjson = vjson;
    }

    public String getVjson() 
    {
        return vjson;
    }
    public void setPropertyTestMethod(Long propertyTestMethod) 
    {
        this.propertyTestMethod = propertyTestMethod;
    }

    public Long getPropertyTestMethod() 
    {
        return propertyTestMethod;
    }
    public void setPropertyValue(String propertyValue) 
    {
        this.propertyValue = propertyValue;
    }

    public String getPropertyValue() 
    {
        return propertyValue;
    }
    public void setPropertyType(Long propertyType) 
    {
        this.propertyType = propertyType;
    }

    public Long getPropertyType() 
    {
        return propertyType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("propertyId", getPropertyId())
            .append("matId", getMatId())
            .append("propertyName", getPropertyName())
            .append("remark", getRemark())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("cjson", getCjson())
            .append("vjson", getVjson())
            .append("propertyTestMethod", getPropertyTestMethod())
            .append("propertyValue", getPropertyValue())
            .append("propertyType", getPropertyType())
            .toString();
    }
}
